<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <script type="text/javascript" src="../../../static/jquery/1.9.0/jquery-1.8.2.js"></script>
<script type="text/javascript" src="../../../static/jquery/1.9.0/jquery-ui-1.9.0.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../../static/jquery/1.9.0/jquery-ui-1.9.0.custom.min.css">
  <script>
    $(function() {
    	$( "#menu" ).menu({
            position: { of: "ul:has(a.ui-state-focus):last" },
            icons: {
                submenu: "ui-icon-carat-1-e"
            }
        });
    });
    </script>
    <style>
    .ui-menu { width: 200px; margin-bottom: 2em; }
    </style>
</head>
<body>
 
<ul id="menu">
    <li><a href="#">menu1</a></li>
    <li><a href="#">menu2</a></li>
    <li>
    	<a href="#">menu3</a>
    	<ul>
    		<li><a href="#">menu31</a></li>
    		<li><a href="#">menu32</a></li>
    		<li><a href="#">menu33</a></li>
    	</ul>
    </li>
</ul>
 
 
</body>
</html>